#include"queue.h"


void test()
{
	Queue q;
	Queueinit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);

	printf("%d\n", QueueSize(&q));
	QueuePop(&q);
	printf("%d\n", QueueSize(&q));
	QueuePop(&q);
	printf("%d\n", QueueSize(&q));
	printf("%d\n", QueueFront(&q));
	printf("%d\n", QueueBack(&q));
	QueueDestroy(&q);
	if(QueueEmpty(&q))
	{
		printf("none\n");
	}
}
int main()
{

	test();

	return 0;
}